<template>
  <section class="my-index clearfix">
    <div class="left-box">
      <left-menu :menu="list"></left-menu>
    </div>
    <div class="center-box">
      <router-view></router-view>
    </div>
  </section>
</template>

<script>
import LeftMenu from "@/components/My/LeftMenu/"
export default {
  name: 'MyProject',
  components: {
      LeftMenu
  },
   data () {
      return {
          list: [
              {
                id:1,
                name: '项目管理',
                child: [
                    {id: 12,name: '项目列表', path: '/my/project/navlist',
                        child:[
                            {id: 11,name: '项目设置', path: '/my/project/list'},
                            {id: 11,name: '项目设置', path: '/my/project/listdelist'},
                        ]
                    },
                    {id: 13,name: '下架项目', path: '/my/project/out',
                        child:[
                            {id: 11,name: '项目设置', path: ''},
                            {id: 11,name: '项目设置', path: ''},
                        ]
                    },
                    {id: 14,name: '通过审核的项目', path: '/my/project/checked',
                        child:[
                            {id: 11,name: '项目设置', path: ''},
                            {id: 11,name: '项目设置', path: ''},
                        ]
                    },
                    {id: 15,name: '未通过审核的项目', path: '/my/project/unchecked',
                        child:[
                            {id: 11,name: '项目设置', path: ''},
                            {id: 11,name: '项目设置', path: ''},
                        ]
                    },
                    {id: 16,name: '被投诉的项目', path: '/my/project/complain',
                        child:[
                            {id: 11,name: '项目设置', path: '/my/project/complaindelist'},
                            {id: 11,name: '项目设置', path: ''},
                        ]
                    }
                ]
              },
              {
                  id:2,
                  name: '产品管理',
                  child: [
                      {id: 12,name: '产品列表', path: '/my/project/productlist',
                          child:[
                              {id: 11,name: '项目设置', path: '/my/project/list'},
                              {id: 11,name: '项目设置', path: '/my/project/productlistdelist'},
                          ]
                      },
                      {id: 13,name: '下架产品', path: '/my/project/productout',
                          child:[
                              {id: 11,name: '项目设置', path: ''},
                              {id: 11,name: '项目设置', path: ''},
                          ]
                      },
                      {id: 14,name: '通过审核的产品', path: '/my/project/productcheck',
                          child:[
                              {id: 11,name: '项目设置', path: ''},
                              {id: 11,name: '项目设置', path: ''},
                          ]
                      },
                      {id: 15,name: '未通过审核的产品', path: '/my/project/productuncheck',
                          child:[
                              {id: 11,name: '项目设置', path: ''},
                              {id: 11,name: '项目设置', path: ''},
                          ]
                      },
                      {id: 16,name: '被投诉的产品', path: '/my/project/productcomplain',
                          child:[
                              {id: 11,name: '项目设置', path: '/my/project/productcomplaindelist'},
                              {id: 11,name: '项目设置', path: ''},
                          ]
                      }
                  ]
              },
              // {
              //     id:3,
              //     name: '交易管理',
              //     child: [
              //         {id: 31,name: '账户管理', path: '/my/myindex/mywallet',
              //             child:[
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //             ]
              //         },
              //         {id: 32,name: '订单管理', path: '/my/myindex/myorder',
              //             child:[
              //                 {id: 11,name: '系统通知', path: '/my/myindex/orderdelist'},
              //                 {id: 11,name: '系统通知', path: '/my/myindex/logistics'},
              //             ]
              //         },
              //         {id: 33,name: '售后/退款', path: '/my/myindex/aftersale',
              //             child:[
              //                 {id: 11,name: '系统通知', path: '/my/myindex/groundsrefundsdelist'},
              //                 {id: 12,name: '退款', path: '/my/myindex/groundsrefunds'},
              //             ]
              //         },
              //         {id: 34,name: '评价管理', path: '/my/myindex/management',
              //             child:[
              //                 {id: 11,name: '系统通知', path: '/my/myindex/managedelists'},
              //                 {id: 12,name: '立即评价', path: '/my/myindex/immediate'},
              //             ]
              //         },
              //         {id: 35,name: '收藏管理', path: '/my/myindex/collection',
              //             child:[
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //             ]
              //         },
              //         {id: 36,name: '我的足迹', path: '/my/myindex/footprint',
              //             child:[
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //             ]
              //         },
              //         {id: 37,name: '购物车', path: '/my/myindex/shoppingcart',
              //             child:[
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //             ]
              //         },
              //     ]
              // },
              // {
              //     id:4,
              //     name: '综合管理',
              //     child: [
              //         {id: 31,name: '积分管理', path: '/my/myindex/pointlist',
              //             child:[
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //             ]
              //         },
              //         {id: 32,name: '等级管理', path: '/my/myindex/level',
              //             child:[
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //             ]
              //         },
              //         {id: 33,name: '我的优惠券', path: '/my/myindex/mycoupon',
              //             child:[
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //             ]
              //         },
              //         {id: 34,name: '任务管理', path: '/my/myindex/',
              //             child:[
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //             ]
              //         },
              //         {id: 35,name: '问答管理', path: '/my/myindex/question',
              //             child:[
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //             ]
              //         },
              //         {id: 36,name: '反馈中心', path: '/my/myindex/feedbackcenter',
              //             child:[
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //             ]
              //         },
              //         {id: 37,name: '服务中心', path: '/my/myindex/servicecentre',
              //             child:[
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //             ]
              //         },
              //         {id: 38,name: '操作教程', path: '/my/myindex/operationtutorials',
              //             child:[
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //                 {id: 11,name: '系统通知', path: '/my/myindex/'},
              //             ]
              //         }
              //     ]
              // }
          ],
      }
   },
    created () {
    },
    methods: {
    }
}
</script>

<style lang="less" scoped>
  @import "../../../style/style.less";
  .my-index {
    padding: 30px 0;
    .left-box {
      width: 180px;
      border: 1px solid @border-color;
      background-color: #fafafa;
      float: left;
      margin-right: 20px;
    }
    .center-box {
      float: left;
      width: 980px;
      background-color: #fff;
      min-height: 100px;
    }
    .right-box {
      float: left;
      width: 260px;
    }
  }
</style>
